package com.pinghua.mocha.basics.dmo;

import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;

/**
 * @author songkui
 * @since 2022-03-17
 */
@Getter
@Setter
@ToString
@EqualsAndHashCode(of ={"id"})
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class UserRedisVO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    private Long id;

    private Long tenantId;

    private String loginCode;

    private String wxOpenId;

    private String wxName;

    private String mobile;

    private List<RoleVO> roleList;

    private String roleAdm;

    private AdmdivTreeBO admdivTree;

}
